package com.only4play.productcenter.domain.goods.domainservice;

import com.only4play.productcenter.api.goods.request.GoodsInStoreRequest;
import com.only4play.productcenter.api.goods.request.GoodsOutStoreRequest;
import com.only4play.productcenter.api.goods.request.GoodsTransferRequest;

/**
 * 商品领域服务层
 *
 * @author zlm
 * @date 2024/1/15
 */
public interface IGoodsDomainService {
  /**
   * 商品入库
   * @param request
   */
  void goodsIn(GoodsInStoreRequest request);

  /**
   * 商品调拨
   * @param request
   */
  void goodsTransfer(GoodsTransferRequest request);

  /**
   * 商品出库
   * @param request
   */
  void goodsOut(GoodsOutStoreRequest request);
}
